package com.easy.service;

import com.easy.bean.PurchaseRequest;
import com.easy.util.Page;

import java.util.List;

public interface PurchaseRequestService {
    PurchaseRequest add(PurchaseRequest request);
    int del(Integer id);
    PurchaseRequest edit(PurchaseRequest request);
    List<PurchaseRequest> all(Integer materialId, Integer requesterId);
    PurchaseRequest one(Integer id);
    void page(Page page, PurchaseRequest request);
}